type type_fn = (num: number) => number;

interface i_fn {
  (num: number): number;
}

const fn: i_fn = (num: number) => {
  console.log(num);
  return num;
};

fn(1);

export {};
